package com.devicemantra.coordinate.dataobjects;

import javax.jdo.annotations.*;

import java.util.*;

import com.google.appengine.api.datastore.Key;
import com.google.appengine.api.datastore.KeyFactory;

@PersistenceCapable(identityType = IdentityType.APPLICATION, detachable ="true")
public class ContactInfo 
{
	@PrimaryKey
    @Persistent (valueStrategy = IdGeneratorStrategy.IDENTITY)
    private Key mKey;
	
	@Persistent 
	private String mName;
	
	@Persistent 
	private String mEmailId;
	
	@Persistent 
	private String mContactNumber;
	
	@Persistent
	private String mPassportNumber = null;
	
	@Persistent
	private String mDesignation;
	
	public ContactInfo(String pName, String pDesignation,String pEmailId, String pContactNumber, String pPassportNumber)
	{
		mName = pName;
		mEmailId = pEmailId;
		mContactNumber = pContactNumber;
		mDesignation = pDesignation;
	}

	public String getName() 
	{
		return mName;
	}

	public void setName(String pName) {
		mName = pName;
	}

	public String getmEmailId() {
		return mEmailId;
	}

	public void setmEmailId(String pEmailId) {
		this.mEmailId = pEmailId;
	}

	public String getmContactNumber() {
		return mContactNumber;
	}

	public void setmContactNumber(String pContactNumber) {
		this.mContactNumber = pContactNumber;
	}

	public String getmPassportNumber() {
		return mPassportNumber;
	}

	public void setPassportNumber(String pPassportNumber) {
		mPassportNumber = pPassportNumber;
	}

	public String getmDesignation() {
		return mDesignation;
	}

	public void setDesignation(String pDesignation) {
		mDesignation = pDesignation;
	}
}
